<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>

        	<div id="basicform" class="subcontent"><!--contenttitle--><h3>Edit Halaman </h3><br><br>

                    <form method="post" class="stdform" action="<?php echo site_url('admin/cproc_halaman_edit');?>">
   <p>
                        	<label>Judul</label>
                            <span class="field">
                                <input type="hidden" name="id" value="<?php echo $halaman_ed['id_halaman'];?>" id="id" />
                                <input name="judul_halaman" type="text" class="longinput" value="<?php echo $halaman_ed['judul_halaman'];?>" /></span>
                            </p>
                       	
                        <p>
                        	<label>Isi Halaman</label>
                            <span class="field"><textarea name="isi_halaman" id="editor2"><?php echo $halaman_ed['isi_halaman'];?></textarea></span> 
                        </p>
                                    <script>
CKEDITOR.replace( 'editor2', {
    filebrowserBrowseUrl: '<?php echo base_url();?>asseta/ckeditor/filemanagers/kcfinder/browse.php',
    filebrowserUploadUrl: '<?php echo base_url();?>asseta/ckeditor/filemanagers/kcfinder/upload.php',
    filebrowserImageWindowWidth: '640',
    filebrowserImageWindowHeight: '480'
});
            </script>                        
                        

                        <p>
                            <label>{Base Url}/home/halaman/</label>
                            <span class="field">
                                <input disabled="disabled" type="text" value="<?php echo $halaman_ed['url_halaman']?>" class="smallinput10"/>
                                <input type="hidden" name="log_ubah" value="<?php 
                            $id_user=$this->session->userdata('id_user');
            $nama_lengkap=$this->session->userdata('nama_lengkap');
            $level=$this->session->userdata('level');
                $loger=date("Y-m-d h:i:s"); echo $halaman_ed['log_ubah']."&nbsp;".$loger."&nbsp;:&nbsp;".$nama_lengkap."</br>";?>"/>
                            </p>
                        
                        <p>
                        <p class="stdformbutton">

                        	<button type="submit" class="submit radius2">Re-Publish</button>
                            <input type="reset" class="reset radius2" value="Reset" />
                        </p>
                        
                        
                    </form>
